python dictionary remove nonetype

106

python dictionary remove nonetype -

{k: v for k, v in original.items() if v is not None}

Comments

Submit
0 Comments